export const tempering_group = (data) =>{
    data.sort((a,b)=>{
        return a.furInGroupId - b.furInGroupId
    })
    const arr = []
    let map = {}
    data.forEach((item)=>{
        if(map.hasOwnProperty(item.furInGroupId)){
            arr[map[item.furInGroupId]].push(item)
        }else{
            map[item.furInGroupId] = arr.length
            arr.push([item])
        }
    })
    return arr
}


export const filterStatus = (data)=>{
    let arr = ["正常","玻璃状态异常","已破损"]

    return arr[data]
}


